package com.ruoyi.zsyh.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 售后厂家账户变动对象 zsyh_after_factory_balance
 * 
 * @author yuexl
 * @date 2022-08-22
 */
public class ZsyhAfterFactoryBalance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 余额详情id */
    private Long id;

    /** 厂家id */
    @Excel(name = "厂家id")
    private String factoryId;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal balanceMoney;

    /** 分类 1保证金明细 2余额明细 */
    @Excel(name = "分类 1保证金明细 2余额明细")
    private String balanceClassify;

    /** 分类 1厂家自己充值 2后台充值 3余额扣除 4余额解冻  5余额冻结 */
    @Excel(name = "分类 1厂家自己充值 2后台充值 3余额扣除 4余额解冻  5余额冻结")
    private String balanceType;

    /** 商户订单号 */
    @Excel(name = "商户订单号")
    private String balanceOrderNum;

    /** 微信、支付宝订单号 */
    @Excel(name = "微信、支付宝订单号")
    private String balancePayNum;

    /** 充值方式 1微信 2支付宝 */
    @Excel(name = "充值方式 1微信 2支付宝")
    private String balancePayType;

    /** 变动后余额金额 */
    @Excel(name = "变动后余额金额")
    private BigDecimal balanceMoneyAfter;

    /** 充值备注 */
    @Excel(name = "充值备注")
    private String balanceRemarks;

    /** 订单号  余额扣除  余额冻结  余额解冻时候保存 */
    @Excel(name = "订单号  余额扣除  余额冻结  余额解冻时候保存")
    private String orderId;

    /** 后台充值操作人 */
    @Excel(name = "后台充值操作人")
    private String createName;

    private String factoryName;

    private String factoryLoginId;

    private String factoryLoginName;

    //充值状态 0充值中  1充值成功
    private String balanceRechargeState;

    private String isthaw;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFactoryId(String factoryId) 
    {
        this.factoryId = factoryId;
    }

    public String getFactoryId() 
    {
        return factoryId;
    }
    public void setBalanceMoney(BigDecimal balanceMoney) 
    {
        this.balanceMoney = balanceMoney;
    }

    public BigDecimal getBalanceMoney() 
    {
        return balanceMoney;
    }
    public void setBalanceClassify(String balanceClassify) 
    {
        this.balanceClassify = balanceClassify;
    }

    public String getBalanceClassify() 
    {
        return balanceClassify;
    }
    public void setBalanceType(String balanceType) 
    {
        this.balanceType = balanceType;
    }

    public String getBalanceType() 
    {
        return balanceType;
    }
    public void setBalanceOrderNum(String balanceOrderNum) 
    {
        this.balanceOrderNum = balanceOrderNum;
    }

    public String getBalanceOrderNum() 
    {
        return balanceOrderNum;
    }
    public void setBalancePayNum(String balancePayNum) 
    {
        this.balancePayNum = balancePayNum;
    }

    public String getBalancePayNum() 
    {
        return balancePayNum;
    }
    public void setBalancePayType(String balancePayType) 
    {
        this.balancePayType = balancePayType;
    }

    public String getBalancePayType() 
    {
        return balancePayType;
    }
    public void setBalanceMoneyAfter(BigDecimal balanceMoneyAfter) 
    {
        this.balanceMoneyAfter = balanceMoneyAfter;
    }

    public BigDecimal getBalanceMoneyAfter() 
    {
        return balanceMoneyAfter;
    }
    public void setBalanceRemarks(String balanceRemarks) 
    {
        this.balanceRemarks = balanceRemarks;
    }

    public String getBalanceRemarks() 
    {
        return balanceRemarks;
    }
    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public String getOrderId()
    {
        return orderId;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("factoryId", getFactoryId())
            .append("balanceMoney", getBalanceMoney())
            .append("balanceClassify", getBalanceClassify())
            .append("balanceType", getBalanceType())
            .append("balanceOrderNum", getBalanceOrderNum())
            .append("balancePayNum", getBalancePayNum())
            .append("balancePayType", getBalancePayType())
            .append("balanceMoneyAfter", getBalanceMoneyAfter())
            .append("balanceRemarks", getBalanceRemarks())
            .append("orderId", getOrderId())
            .append("createName", getCreateName())
            .toString();
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    public String getFactoryLoginId() {
        return factoryLoginId;
    }

    public void setFactoryLoginId(String factoryLoginId) {
        this.factoryLoginId = factoryLoginId;
    }

    public String getFactoryLoginName() {
        return factoryLoginName;
    }

    public void setFactoryLoginName(String factoryLoginName) {
        this.factoryLoginName = factoryLoginName;
    }

    public String getBalanceRechargeState() {
        return balanceRechargeState;
    }

    public void setBalanceRechargeState(String balanceRechargeState) {
        this.balanceRechargeState = balanceRechargeState;
    }

    public String getIsthaw() {
        return isthaw;
    }

    public void setIsthaw(String isthaw) {
        this.isthaw = isthaw;
    }
}
